package com.jxbeidou.system.org.convert;

import com.jxbeidou.system.org.entity.PostDO;
import com.jxbeidou.system.org.vo.PostVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 岗位管理
*
* @author 杜晓祥 
* @since 1.0.0 2023-12-14
*/
@Mapper
public interface PostConvert {
    PostConvert INSTANCE = Mappers.getMapper(PostConvert.class);

    PostDO convert(PostVO vo);

    PostVO convert(PostDO entity);

    List<PostVO> convertList(List<PostDO> list);

}